<!doctype html>
<html>
<head>
    <#include "include/common.header.ftl" >
    <script type="text/javascript" src="/js/user_message.js"></script>
</head>
<body style="margin: 1px">
<table id="dg" title="用户信息" class="easyui-datagrid"
       fitColumns="true" pagination="true" rownumbers="true"
       url="/demo01/userPage?state=21&limit=10&sort=phoneNumber" fit="true" toolbar="#tb">
    <thead>
    <tr>
        <th field="cb" checkbox="true" align="center"></th>
        <th field="phoneNumber" width="50" align="center">手机号</th>
        <th field="age" width="50" align="center" >年龄</th>
        <th field="petName" width="50" align="center" >昵称</th>
        <th field="sex" width="50" align="center">性别</th>
        <th field="userType" width="50" align="center" >是否是会员</th>
        <th field="memberLevel" width="50" align="center" >会员等级</th>
        <th field="memberBalance" width="50" align="center" >余额</th>
    </tr>
    </thead>
</table>
<div id="tb">
    <div>
       <!-- <a href="javascript:openSaleChanceAddDialog()" class="easyui-linkbutton" iconCls="icon-add" plain="true">创建</a>-->
        <a href="javascript:openSaleChanceModifyDialog()" class="easyui-linkbutton" iconCls="icon-edit" plain="true">详情/修改</a>
       <!-- <a href="javascript:deleteSaleChance()" class="easyui-linkbutton" iconCls="icon-remove" plain="true">删除</a>-->
    </div>
    <div>
        &nbsp;手机号：&nbsp;<input type="text" id="s_phoneNumber" size="15" onkeydown="if(event.keyCode==13) searchSaleChance()"/>
        &nbsp;昵称：&nbsp;<input type="text" id="s_orderNumber" size="15" onkeydown="if(event.keyCode==13) searchSaleChance()"/>
        &nbsp;会员等级：&nbsp;<input type="text" id="s_servicePersonal" size="15" onkeydown="if(event.keyCode==13) searchSaleChance()"/>
        &nbsp;是否会员：&nbsp;<select class="easyui-combobox" id="s_orderState"  >
        <option value="">请选择...</option>
        <option value="会员用户">会员用户</option>
        <option value="普通用户">普通用户</option>
         </select>
         &nbsp;是否年卡：&nbsp;<select class="easyui-combobox" id="s_orderState2"  >
        <option value="">请选择...</option>
        <option value="年卡用户">年卡用户</option>
        <option value="非年卡用户">非年卡用户</option>
     </select>
        <a href="javascript:searchSaleChance()" class="easyui-linkbutton" iconCls="icon-search" plain="true">搜索</a>
    </div>
</div>

<div id="dlg" class="easyui-dialog" style="width:700px;height:450px;padding: 10px 20px"
     closed="true" buttons="#dlg-buttons">
        <input type="text" id="tag" name="tag" value="0"  hidden="true"/>

    <form id="fm" method="post">
        <table cellspacing="8px">
            
            <tr>
                <td>手机号：</td>
                <td><input type="text" id="phoneNumber" name="phoneNumber" class="easyui-validatebox" /></td>
                <td>头像：</td>
                <td><input type="text" id="headPortrait" name="headPortrait" class="easyui-validatebox" ><image id="myimg" src="" width="15px" height="12px"></input></td>
          
            </tr>
             <tr>
                <td>年龄：</td>
                <td><input type="text" id="age" name="age" class="easyui-validatebox" /></td>
                <td>昵称：</td>
                <td><input type="text" id="petName" name="petName" class="easyui-validatebox" /></td>
            </tr>
             <tr>
                <td>生日：</td>
                <td><input type="text" id="birthday" name="birthday" class="easyui-datebox" /></td>
                <td>是否是会员：</td>
                <td><input type="text" id="userType" name="userType" class="easyui-validatebox" /></td>
            </tr>
            <tr>
                <td>会员等级：</td>
                <td><input type="text" id="memberLevel" name="memberLevel" class="easyui-validatebox" /></td>
                <td>积分：</td>
                <td><input type="text" id="points" name="points" class="easyui-validatebox" /></td>
            </tr>
            <tr>
                <td>账户余额：</td>
                <td><input type="text" id="memberBalance" name="memberBalance" class="easyui-validatebox" /></td>
            	 <td>性别：</td>
                <td><input type="text" id="sex" name="sex" class="easyui-validatebox" /></td>
            
            </tr>
             <tr>
                <td>年卡到期时间：</td>
                <td><input type="text" id="nianka" name="nianka" class="easyui-datebox" /></td>
            </tr>
             <tr>
            	<td>所有订单：</td>
                <td> <ol id="boxlxc"  name="boxlxc"></ol> </td>
            	
            	
            </tr>
            
        </table>
    </form>
</div>

<div id="dlg-buttons">
    <a href="javascript:saveSaleChance()" class="easyui-linkbutton" iconCls="icon-ok">保存</a>
    <a href="javascript:closeSaleChanceDialog()" class="easyui-linkbutton" iconCls="icon-cancel">关闭</a>
</div>
</body>
</html>